package com.yisoo.ubag.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 
 * 
 * @author mmciel
 * @email 761998179@qq.com
 * @date 2021-04-16 23:19:13
 */
@Data
@TableName("app_pay")
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PayEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	@TableId(type = IdType.INPUT)
	private String appUserId;
	/**
	 * 余额
	 */
	private BigDecimal money;
	/**
	 * 优惠券
	 */
	private String coupon;
	/**
	 * 会员等级
	 */
	private String member;
	/**
	 * 会员打折
	 */
	private BigDecimal weight;
	/**
	 * 账户状态
	 * 1 正常
	 * 2 封禁
	 */
	private Integer level;

}
